feat(share): lead with the AI-impact number when a job is known - #270
Merged
Conversation
Reopen WORKTYPE_VIRALITY.md §S5 as measurement-led (#237). Share text and the worktype OG card use {job}のAI影響度は{score} when an occupation is present; no-occupation /shindan shares stay identity-only. /me gets a score share control; social unfurlers of /me?id= reuse the occupation card.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #237.
Ruling
Share is measurement-led when an occupation (and therefore an AI-impact score) is known. Identity-only stays for the no-occupation
/shindanresult, where there is no number.WORKTYPE_VIRALITY.md§S5 is amended in this PR.Copy (live on this branch; owner review on pre)
With job:
Without job (unchanged):
/meCTA: 「この数字をシェア」.What
src/site/worktype-share.ts./shindanshare text, hook, and native share pick the job template when gap job + score are loaded./api/shindan-shareOG title/description follow the same hero (fetches occupation detail).jobis on the image URL; type name is secondary./meshare control after the score.share_click./me?id=rewrite to the occupation page so the timeline card is the number. Humans still land on/me. Googlebot is not rewritten.Verify
bun run testbun run typecheckbun run buildbun run verify:gates/meanchors +2 (meShare,meShareOpen).Look at https://pre.mirai-shigoto.com/me after merge (or the Vercel preview URL on this PR). Pick a job, tap 「この数字をシェア」. A
/shindanresult without a job should still say 私は【タイプ名】.